package guo.mytesttreeview.bean;

/**
 * Created by ${GuoZhaoHui} on 2017/11/14.
 * Email:guozhaohui628@gmail.com
 */

public class ServerNode {
    public int parentId;
    public int powerId;
    private String powerName;
    private int ends;

    @Override
    public String toString() {
        return "ServerNode{" +
                "parentId=" + parentId +
                ", powerId=" + powerId +
                ", powerName='" + powerName + '\'' +
                ", ends=" + ends +
                '}';
    }

    public int getEnds() {
        return ends;
    }

    public void setEnds(int ends) {
        this.ends = ends;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getPowerId() {
        return powerId;
    }

    public void setPowerId(int powerId) {
        this.powerId = powerId;
    }

    public String getPowerName() {
        return powerName;
    }

    public void setPowerName(String powerName) {
        this.powerName = powerName;
    }
}
